package org.qf.pojo;

import java.math.BigDecimal;

/**
 * @author zzzyyystart
 * @create 2022-05-11-15:38
 */
public class SmbmsBillItem {
    private Integer id;
    private String orderCode;
    private String name;
    private Integer count;
    private BigDecimal unitPrice;
    private BigDecimal totalPrice;

    @Override
    public String toString() {
        return "SmbmsBillItem{" +
                "id=" + id +
                ", orderCode='" + orderCode + '\'' +
                ", name='" + name + '\'' +
                ", count=" + count +
                ", unitPrice=" + unitPrice +
                ", totalPrice=" + totalPrice +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public SmbmsBillItem(Integer id, String orderCode, String name, Integer count, BigDecimal unitPrice, BigDecimal totalPrice) {
        this.id = id;
        this.orderCode = orderCode;
        this.name = name;
        this.count = count;
        this.unitPrice = unitPrice;
        this.totalPrice = totalPrice;
    }

    public SmbmsBillItem() {
    }
}
